﻿using SHRIS.MIS.Common.Util.Model;
using SHRIS.MIS.Entity.SystemManage;
using SHRIS.MIS.Model.Param.SystemManage;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SHRIS.MIS.IService.SystemManage
{
    public interface IDataDictDetailService
    {
        #region 获取数据
        Task<List<DataDictDetailEntity>> GetList(DataDictDetailListParam param);

        Task<List<DataDictDetailEntity>> GetPageList(DataDictDetailListParam param, Pagination pagination);

        Task<DataDictDetailEntity> GetEntity(Guid id);
        Task<int> GetMaxSort();

        bool ExistDictKeyValue(DataDictDetailEntity entity);
        #endregion

        #region 提交数据
        Task SaveForm(DataDictDetailEntity entity);

        Task DeleteForm(string ids);
        #endregion
    }
}
